
<div id='panel'>
<div class="fulldiv" style="width:700px; margin:0px 0px 0px 5px;">
 <strong class="orangehead">My Swapen</strong>
 <p style="color:gray;">All your sold, selling, bought, buying amd other things need attentionwill be shown here.</p>



<form name="form_his" id="form_his" method="post">
<table width="100%"  border="0" cellspacing="0" class="container" style=" border-width: 0; border:none;">
  <tr>
    <td>
	<div class="fulldiv" style="width:700px;">
	   <?php
	   $myper_merc = $mypg_msg = $mypg_help = '';
	   if($_SESSION['user_type_sess']==1)
	   {
	    $mypg_buyer = 'class="current"';
	   }
	   else if($_SESSION['user_type_sess']==2) {
	    $mypg_seller = 'class="current"';
	   }
	   else if($_SESSION['user_type_sess']==4) {
	    
	     if(isset($_GET['buyer']))
	     {
	         $mypg_buyer = 'class="current"';  
	     }
	     else
	     {
	         $mypg_seller = 'class="current"';
	     }
	   }
	   
	   if(isset($_GET['inbox'])) {
	    $mypg_msg = 'class="current"';
	    $mypg_buyer ="";
	    $mypg_seller="";
	    
	   }
	   else if(isset($_GET['faq'])){
	    $mypg_help = 'class="current"';
	     $mypg_buyer ="";
	    $mypg_seller="";
	    
	   }
	   ?>  
	   <div class="mypg_buyer" ><a href="<?php echo $url1?>" <?php echo $mypg_buyer; ?> style="margin:5px 0px;"></a></div>
	   <div class="mypg_seller" ><a href="<?php echo $url?>" <?php echo $mypg_seller; ?> style="margin:5px 0px;"></a></div>
	   <div class="mypg_msg" ><a href="index.php?inbox" <?php echo $mypg_msg; ?> style="margin:5px 0px;"></a></div>
	   <div class="mypg_help" ><a href="index.php?faq" <?php echo $mypg_help; ?> style="margin:5px 0px;"></a></div>
	   
	   <div class="bluesml_out" style="margin:5px 0px;" id='m_all'>Minimize All<br />
	    <?
	    if($_SESSION['user_type_sess']==1)
	    {
	     if(isset($_GET['buyer'])) $typ = 'buyer'; else $typ = 'seller';
	    }
	    else
	    {
	     if(isset($_GET['buyer'])) $typ = 'buyer'; else $typ = 'seller';
	    }
	    ?>
	    <div class="bluearrowsml" onclick="minimize_all('<?php echo $typ;?>')" id="big_blue_arrow">&nbsp;</div>
	   </div>
	</div>
	</td>
  </tr>
 

</table>
</form>

</div>

</div>